package dbtools.structures;

import java.util.Date;

import dbtools.DBTransaction;

public class DBFieldLastUpdate extends DBFieldDatetime{

	private static final long serialVersionUID = 1L;

	@Override
	public void beforeInsert(DBTransaction transaction) {
		setValue(new Date());
	}

	@Override
	public void beforeUpdate(DBTransaction transaction) {
		setValue(new Date());
	}
	
	

}
